<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>bi-project</title>
    <script>
      window.onload = function() {
        refreshRem()
      }
      window.addEventListener('resize',function() {
        refreshRem()
      })
      function refreshRem () {
        var deviceWidth = document.documentElement.clientWidth;
        console.log(deviceWidth);
        document.documentElement.style.fontSize = deviceWidth / 14 + 'px';
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
